import request from '@/utils/request'

// 获取用户信息
const getUserInfoAPI = () => {
  return request({
    method: 'get',
    url: '/my/userinfo'
  })
}

// 获取左侧菜单
const getMenusAPI = () => {
  return request({
    method: 'get',
    url: '/my/menus'
  })
}

// 按需导出
export {
  getUserInfoAPI,
  getMenusAPI
}
